package org.jeecg.modules.courseplan.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.annotations.ApiOperation;
import org.jeecg.common.api.vo.Result;
import org.jeecg.common.aspect.annotation.AutoLog;
import org.jeecg.modules.courseplan.entity.CouCoursePlan;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.courseplan.vo.CouCoursePlanVo;
import org.jeecg.modules.relation.relbuildingclassroom.vo.RelBuildingClassroomVo;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @Description: cou_course_plan
 * @author: baochangrong
 * @Date:   2022-02-17
 * @Version: V1.0
 */
public interface ICouCoursePlanService extends IService<CouCoursePlan> {
    /**
     * 分页 查询全部
     */
    IPage<CouCoursePlanVo> listAll(Page<CouCoursePlanVo> page, String tenantId);

    /**
     * 教学计划相关 queryList
     */
     List<CouCoursePlan> queryList(String tenantId);

    /** 逻辑删除 */
    boolean planIzdelete(CouCoursePlan couCoursePlan);

    int insertUpgradeCouCoursePlan(CouCoursePlanVo couCoursePlanVo);
}
